<script setup lang="ts">
const intro = '爱你大爷的狗'

const name = ['小明', '小红', '小刚']

const agee = {
  name: '小明',
  age: 18,
  sex: '男'
}
</script>

<template>
  <div id="app">
    <ul>
      <li v-for="(item, index) in intro" :key="index">{{ item }}</li>
    </ul>
    <ul>
      <li v-for="item in 10" :key="item">{{ item }}</li>
    </ul>
    <ul>
      <li v-for="(item, index) in name" :key="index">{{ item }}</li>
    </ul>
    <ul>
      <li v-for="(value, key, index) in agee" :key="index">键: {{ key }}, 值: {{ value }}</li>
    </ul>
  </div>
</template>

<style></style>
